import { Component, OnInit, Input } from '@angular/core';
import { FormControl } from '@angular/forms';

@Component({
  selector: 'app-sendbox',
  templateUrl: './sendbox.component.html',
  styleUrls: ['./sendbox.component.scss']
})
export class SendboxComponent implements OnInit {
  
  editor  =  {content: '' }

  constructor() { }

  ngOnInit() {
  }

  getText(): string {
    return this.editor.content;
  }  

  clear(){
    this.editor.content = '';
  }
}
